<?php

class ObtenerListaValores extends CI_Controller {

    function __construct() {
        // Call the Model constructor
        parent::__construct();
        if ($sessionData = $this->session->userdata('datosUser')) {
            $this->lang->load($sessionData['idioma'], $sessionData['idioma']);
            $this->load->model('backend/inversion/mobtenerlistavalores');
        } else {
            redirect('frontend/login/login');
        }
    }

    function index() {
        $this->mobtenerlistavalores->obtenerLista();
    }

}